/* ============================================
   R1 GLOBAL STYLING — STYLE C (Deep Graphite)
   ============================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: linear-gradient(180deg, #1b1b1d 0%, #111113 100%);
    color: #e5e5e5;
    padding-bottom: 40px;
}

/* Light Mode */
body.light {
    background: #f4f4f7;
    color: #1b1b1d;
}

/* ============================================
   HEADER + NAV
   ============================================ */
.r1-header {
    width: 100%;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
}

body.light .r1-header {
    border-bottom: 1px solid #c8c9cc;
}

.r1-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.r1-logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

.r1-title {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.r1-nav a {
    margin-right: 18px;
    font-size: 14px;
    opacity: 0.85;
    text-decoration: none;
    color: inherit;
}

.r1-nav a.active {
    font-weight: 600;
    opacity: 1;
}

.r1-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.8;
}

.r1-toggle:hover {
    opacity: 1;
}


/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */
.r1-container {
    max-width: 1050px;
    margin: 40px auto;
    padding: 0 20px;
}



/* ============================================
   CARD
   ============================================ */
.r1-card {
    background: rgba(255,255,255,0.04);
    padding: 32px;
    border-radius: 14px;
    margin-bottom: 26px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
}

body.light .r1-card {
    background: #ffffff;
    border: 1px solid #dcdde1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.r1-card h2 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.r1-card p {
    margin-bottom: 16px;
    opacity: 0.85;
}

.r1-card label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    opacity: 0.8;
}


/* ============================================
   INPUTS
   ============================================ */
.r1-input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 18px;
    font-size: 15px;
}

.r1-input::placeholder {
    color: #bbbbbb;
}

body.light .r1-input {
    background: #fafafa;
    border: 1px solid #d2d2d2;
    color: #1b1b1d;
}

body.light .r1-input::placeholder {
    color: #666;
}


/* ============================================
   BUTTONS
   ============================================ */

.r1-btn-green, .r1-btn-gray {
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.r1-btn-green {
    background: #18c97a;
    color: #fff;
}

.r1-btn-green:hover {
    background: #12b068;
}

.r1-btn-gray {
    background: rgba(255,255,255,0.08);
    color: #e5e5e5;
}

body.light .r1-btn-gray {
    background: #e9e9ec;
    color: #1b1b1d;
}

.r1-btn-gray:hover {
    background: rgba(255,255,255,0.14);
}

.wide {
    width: 100%;
}


/* ============================================
   BUTTON ROW
   ============================================ */
.r1-button-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 680px) {
    .r1-button-row {
        flex-direction: column;
    }
}


/* ============================================
   NOTES
   ============================================ */
.r1-note {
    margin-top: 20px;
    opacity: 0.85;
    font-size: 14px;
}

.r1-success {
    color: #18c97a;
    font-weight: 600;
}



/* ============================================
   END OF CSS
   ============================================ */
