/* Scoped to avoid conflicts */
.gp-date-diff-wrapper .date-diff-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: linear-gradient(135deg, #f7e1d7 0%, #eddcd2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: inherit; /* Inherit GeneratePress typography */
}

/* Heading */
.gp-date-diff-wrapper h2 {
    color: #582f0e;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Form Elements */
.gp-date-diff-wrapper .form-group {
    margin-bottom: 20px;
}

.gp-date-diff-wrapper label {
    display: block;
    color: #7f5539;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

.gp-date-diff-wrapper input[type="date"],
.gp-date-diff-wrapper select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    color: #582f0e;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.gp-date-diff-wrapper input[type="date"]:focus,
.gp-date-diff-wrapper select:focus {
    border-color: #9e2a2f;
    outline: none;
    box-shadow: 0 0 4px rgba(158, 42, 47, 0.5);
}

/* Button */
.gp-date-diff-wrapper button {
    width: 100%;
    padding: 12px;
    background: #9e2a2f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gp-date-diff-wrapper button:hover {
    background: #7f5539;
}

/* Result Styling */
.gp-date-diff-wrapper #result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    background: #2ecc71;
    color: white;
    display: none;
}

.gp-date-diff-wrapper #result.error {
    background: #e74c3c;
}

/* Responsive Design */
@media (max-width: 480px) {
    .gp-date-diff-wrapper .date-diff-container {
        margin: 20px;
        padding: 15px;
    }

    .gp-date-diff-wrapper h2 {
        font-size: 24px;
    }

    .gp-date-diff-wrapper button {
        font-size: 14px;
    }

    .gp-date-diff-wrapper input[type="date"],
    .gp-date-diff-wrapper select {
        font-size: 14px;
    }
}