* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Arial,
        sans-serif;

    background: #f7f7fa;

    color: #222;
}


/* =====================================================
   LOGIN
===================================================== */

.login-wrapper {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    background:
        radial-gradient(
            circle at top left,
            #ffd5df,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff5f7,
            #f5f0ff
        );
}


.login-card {

    width: 100%;

    max-width: 430px;

    padding: 40px;

    background: rgba(255,255,255,.96);

    border-radius: 25px;

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.12);

    text-align: center;
}


.brand-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #8b1e3f;

    color: white;

    font-size: 32px;
}


.login-card h1 {

    font-size: 27px;

    margin-bottom: 8px;
}


.subtitle {

    color: #777;

    margin-bottom: 30px;
}


.input-group {

    text-align: left;

    margin-bottom: 20px;
}


.input-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;
}


.input-group input {

    width: 100%;

    padding: 14px 16px;

    border: 1px solid #ddd;

    border-radius: 12px;

    outline: none;

    font-size: 15px;
}


.input-group input:focus {

    border-color: #8b1e3f;

    box-shadow:
        0 0 0 3px
        rgba(139,30,63,.1);
}


.login-btn {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: #8b1e3f;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;
}


.error-message {

    background: #ffe5e5;

    color: #b00020;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 20px;
}


.login-footer {

    margin-top: 25px;

    color: #999;

    font-size: 13px;
}


/* =====================================================
   USER LAYOUT
===================================================== */

.user-layout {

    min-height: 100vh;

    display: flex;
}


.user-sidebar {

    width: 250px;

    position: fixed;

    left: 0;

    top: 0;

    bottom: 0;

    padding: 25px 15px;

    background: #24121a;

    color: white;
}


.user-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 30px;

    padding: 10px;
}


.user-sidebar nav a {

    display: block;

    color: #ddd;

    text-decoration: none;

    padding: 13px 15px;

    margin-bottom: 6px;

    border-radius: 10px;

    transition: .2s;
}


.user-sidebar nav a:hover,
.user-sidebar nav a.active {

    background: #8b1e3f;

    color: white;
}


.logout-link {

    margin-top: 30px;
}


/* =====================================================
   MAIN
===================================================== */

.user-main {

    margin-left: 250px;

    width: calc(100% - 250px);

    padding: 30px;
}


.user-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}


.user-topbar h2 {

    font-size: 28px;
}


.user-topbar p {

    color: #777;

    margin-top: 5px;
}


.user-profile {

    background: white;

    padding: 12px 18px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.06);
}


/* =====================================================
   SUBSCRIPTION
===================================================== */

.subscription-card {

    background:
        linear-gradient(
            135deg,
            #8b1e3f,
            #4a1024
        );

    color: white;

    padding: 25px 30px;

    border-radius: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}


.subscription-card span {

    opacity: .75;

    font-size: 13px;
}


.subscription-card h2 {

    margin: 5px 0;
}


.subscription-card p {

    opacity: .9;
}


.days-box {

    text-align: center;

    background:
        rgba(255,255,255,.12);

    padding: 15px 22px;

    border-radius: 15px;
}


.days-box strong {

    display: block;

    font-size: 30px;
}


.days-box span {

    font-size: 12px;
}


.subscription-expired {

    background: #fff0f0;

    border: 1px solid #ffd0d0;

    padding: 20px;

    border-radius: 16px;

    margin-bottom: 25px;
}


/* =====================================================
   DASHBOARD CARDS
===================================================== */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px,1fr)
        );

    gap: 20px;

    margin-bottom: 25px;
}


.dashboard-card {

    background: white;

    padding: 22px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.06);
}


.card-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: #fff0f3;

    font-size: 25px;
}


.dashboard-card span {

    display: block;

    color: #777;

    font-size: 13px;

    margin-bottom: 5px;
}


.dashboard-card strong {

    font-size: 23px;
}


/* =====================================================
   WEDDING
===================================================== */

.wedding-section {

    margin-top: 20px;
}


.wedding-preview {

    background: white;

    padding: 25px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    gap: 25px;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.06);
}


.wedding-photo {

    width: 150px;

    height: 150px;

    border-radius: 20px;

    overflow: hidden;

    flex-shrink: 0;

    background: #fff0f3;
}


.wedding-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.no-photo {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;
}


.wedding-info span {

    color: #8b1e3f;

    font-size: 13px;

    font-weight: 600;
}


.wedding-info h2 {

    margin: 8px 0 12px;
}


.wedding-info p {

    color: #666;
}


.wedding-actions {

    display: flex;

    gap: 10px;

    margin-top: 18px;

    flex-wrap: wrap;
}


.wedding-actions a {

    text-decoration: none;

    padding: 10px 14px;

    background: #fff0f3;

    color: #8b1e3f;

    border-radius: 10px;

    font-size: 13px;
}


/* =====================================================
   CREATE WEDDING
===================================================== */

.create-wedding-card {

    background: white;

    padding: 50px 25px;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.06);
}


.big-ring {

    font-size: 60px;

    margin-bottom: 15px;
}


.create-wedding-card h2 {

    margin-bottom: 10px;
}


.create-wedding-card p {

    color: #777;

    margin-bottom: 25px;
}


.create-wedding-card a {

    display: inline-block;

    background: #8b1e3f;

    color: white;

    text-decoration: none;

    padding: 14px 25px;

    border-radius: 12px;
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:768px) {

    .user-sidebar {

        width: 70px;
    }

    .user-logo span {

        display: none;
    }

    .user-sidebar nav a {

        text-align: center;

        font-size: 0;
    }

    .user-main {

        margin-left: 70px;

        width:
            calc(100% - 70px);

        padding: 20px;
    }

    .user-topbar {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .subscription-card {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .wedding-preview {

        flex-direction: column;

        align-items: flex-start;
    }

    .wedding-photo {

        width: 100%;

        height: 250px;
    }

    .login-card {

        margin: 20px;

        padding: 30px 22px;
    }

}