* {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

body {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3%;
    gap: 2rem;
    background-color: var(--background-color);
    color: var(--secondary-color);
    font-family: var(--common-text); /* Add font-family from var.css */
}

a {
    color: inherit;
}

header img {
    padding: 2rem;
    width: 180px;
}

main {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30%;
    gap: 2rem;
}

#login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
    width: 400px;
    align-items: center;
}

#login a {
    color: var(--secondary-color);
    font-family: var(--enfasis-text);
    font-size: 1rem;
}

.input-text {
    width: 100%;
    height: 60px;
    border: none;
    background-color: var(--terciary-color);
    color: var(--secondary-color);
    border-radius: 2rem;
    text-align: center;
    font-family: var(--enfasis-text);
    font-size: 1.75rem;
    font-style: italic;
    outline: none;
}

.button {
    background-color: var(--terciary-color);
    border-radius: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    height: 35px;
    width: 50%;
    font-family: var(--enfasis-text);
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
}

#alternative_login {
    width: 400px;
    align-items: center;
}

#login_google {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;

}

#login_google a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--terciary-color);
    padding: 15px;
    border-radius: 2rem;
    width: 60%;
    text-decoration-line: inherit;
    font-family: var(--titles);
}

#login_google #sign_up {
    width: 40%;
}

#login_google img {
    width: 40px;
}

footer {
    display: flex;
    padding-top: 1rem;
    width: 50%;
    min-height: 350px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    justify-content: center;
    border-top-left-radius: 3000px;
    border-top-right-radius: 3000px;
    z-index: -1;
}

footer img {
    position: absolute;
    overflow: hidden;
    bottom: 60px;
    width: 60px;
}

/* Styles for subscription plans page */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--terciary-color); /* Using terciary color for cards */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #e0e0e0;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.pricing-card.recommended {
    border: 2px solid var(--primary-color); /* Using primary color for recommended border */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.pricing-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-family: var(--titles); /* Using titles font */
}

.pricing-price {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--titles); /* Using titles font */
}

.pricing-details {
    margin-bottom: 25px;
}

.pricing-details ul {
    list-style: none;
    padding: 0;
}

.pricing-details ul li {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--secondary-color);
    font-family: var(--common-text); /* Using common text font */
}

.pricing-button {
    background-color: var(--primary-color);
    color: var(--terciary-color); /* Button text color to terciary */
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: var(--enfasis-text); /* Using enfasis text font for button */
}

.pricing-button:hover {
    background-color: #0056b3; /* Keep hover color if desired, or use a variable */
}

.recommended-badge {
    background-color: var(--primary-color); /* Using primary color for badge background */
    color: var(--terciary-color); /* Badge text color to terciary */
    padding: 6px 12px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: var(--enfasis-text); /* Using enfasis text font for badge */
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--titles); /* Using titles font for h2 */
}

@media (max-width: 1000px) {
    footer {
        width: 100%;
    }
}

/* --- AddClothing Page Styles --- */
/* You can add specific styles for the addClothing page here if needed */

/* --- General Button Styles --- */
/* If your "return" button uses a specific class, replace '.button' with that class */
/* If it's just a link styled as a button, these styles will still apply */
.button.icon-return { /* Example: Targeting buttons with both 'button' and 'icon-return' classes */
    width: auto; /* Adjust width to content */
    height: auto; /* Adjust height to content */
    padding: 8px 16px; /* Smaller padding */
    font-size: 0.9rem; /* Smaller font size */
    border-radius: 50%; /* Make it circular or adjust as needed */
    display: inline-flex; /* Use flex to align icon and text if needed */
    justify-content: center;
    align-items: center;
}

/* If 'icon-return' is an image or icon font, you can style it here */
.button.icon-return img,
.button.icon-return i { /* Example for icon font using <i> tag */
    width: 20px; /* Adjust icon size */
    height: 20px;
    vertical-align: middle; /* Align icon with text */
}


/* Example of more general button styling if needed, adjust as per your design */
.button {
    /* Existing styles for .button */
    min-width: 80px; /* Example: Minimum width for buttons */
    padding: 10px 20px; /* Example: Adjust padding for general buttons */
    font-size: 1rem;    /* Example: Adjust font size for general buttons */
}

/* --- Form Container Styles --- */
.form-container {
    position: relative; /* Needed for absolute positioning of the close button */
    /* Add other form container styles here if needed */
    padding: 20px; /* Example padding */
}

/* --- Close Button Styles --- */
.close-button {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    width: 30px; /* Adjust size as needed */
    height: 30px;
    border-radius: 50%;
    background-color: var(--terciary-color); /* Match button background */
    color: var(--secondary-color); /* Match button text color */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 1rem; /* Adjust font size if using text for close button */
    line-height: 1; /* Ensure proper vertical alignment of content */
}

.close-button:hover {
    background-color: #ddd; /* Slightly darker on hover, adjust as needed */
}

/* --- General Action Button Style --- */
/* Moved from combinations.css and adjusted */
.action-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px; /* Adjusted padding */
    font-size: 1rem; /* Adjusted font size */
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Adjusted shadow */
    display: inline-flex; /* Use inline-flex for centering content */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
}

.action-btn:hover {
    background-color: var(--primary-hover); /* Use primary-hover variable */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Adjusted hover shadow */
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Reset shadow on active */
}

.action-btn i {
    color: white; /* Ensure icon color is white */
}

/* Specific style for danger action buttons */
.action-btn.danger-btn {
    background-color: var(--danger-color);
    color: white;
}

.action-btn.danger-btn:hover {
    background-color: #c74c40; /* Darker shade for danger hover */
    color: white;
}

.action-btn.danger-btn i {
    color: white;
}

/* Sidebar logo color fix */
.sidebar-logo {
    /* Existing styles */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    /* New color */
    color: var(--terciary-color); /* Changed from --secondary-color to --terciary-color */
}
