/* --- ACCOUNT PAGE LAYOUT --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --bg-body: #f9f9f9;
    --text-main: #000;
}

body {
    background: var(--bg-body);
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
}

.account-container {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically Centers the box */
    padding: 40px 20px;
}

/* --- AUTH CARD --- */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 50px 40px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.auth-form h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

.auth-sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    margin-top: 0;
}

/* Inputs */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    background: #fff;
    border-radius: 0; /* Sharp Edges */
    box-sizing: border-box; 
}

.form-group input:focus {
    border-color: #000;
    background: #fafafa;
}

/* Flex Group for Country Code */
.input-group-flex {
    display: flex;
    width: 100%;
}

/* Buttons */
.btn-black {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 500;
    border-radius: 0;
}

.btn-black:hover { background: #333; }
.btn-black:disabled { background: #ccc; cursor: not-allowed; }

/* Links */
.auth-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    font-size: 13px;
    color: #666;
}

.auth-links a {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

/* Messages */
.error-msg {
    color: #d93025;
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
    min-height: 20px;
    font-weight: 500;
}

/* --- PROFILE DASHBOARD --- */
.profile-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.profile-header {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
}

.profile-header h1 { font-family: 'Oswald'; font-size: 32px; margin: 0 0 10px 0; }
.btn-outline { 
    background: transparent; border: 1px solid #000; padding: 10px 20px; 
    font-family: 'Oswald'; cursor: pointer; font-size: 12px; letter-spacing: 1px; width: 100%;
    border-radius: 0;
}
.btn-outline:hover { background: #000; color: #fff; }

.profile-card { background: #fff; border: 1px solid #eee; padding: 30px; margin-bottom: 30px; }
.profile-card h3 { font-family: 'Oswald'; font-size: 18px; margin-bottom: 20px; border-bottom: 1px solid #000; padding-bottom: 10px; }

/* Orders List */
.order-item {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}
.order-item:hover { border-color: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.order-link-item img { transition: 0.2s; }
.order-link-item img:hover { border-color: #000; opacity: 0.8; }

.badge { 
    display: inline-block; 
    padding: 2px 8px; 
    font-size: 11px; 
    font-family: 'Oswald'; 
    letter-spacing: 1px; 
}

/* Responsive */
@media (max-width: 768px) {
    .profile-wrapper { grid-template-columns: 1fr; }
    .auth-wrapper { padding: 30px 20px; max-width: 100%; border: none; box-shadow: none; }
    .account-container { padding: 0; background: #fff; display: block; }
}
/* Add this to the bottom of account.css */

.btn-cancel-outline {
    background: transparent;
    border: 1px solid #d93025;
    color: #d93025;
    padding: 10px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
}

.btn-cancel-outline:hover {
    background: #d93025;
    color: #fff;
}