/* ===================================
   Soap Recipe Manager - Unified Styles
   =================================== */

/* ========== COLOR PALETTE ========== */
:root {
    --bg-cream: #fdfaec;
    --bg-light: #f3f3f3;
    --complement: #D6DAC8;
    --danger: #D6A99D;
    --success: #9CAFAA;
    --primary-start: #776D92;
    --secondary-start: #834e81;
    --primary-end: #928AA8;
    --secondary-end: #834e5e;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --border: #e0e0e0;
    --white: #ffffff;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    min-height: 100vh;
    color: var(--text-dark);
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
}

/* ========== HEADER ========== */
.header,
.header-admin {
    color: var(--white);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header {
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
}

.header-admin {
    background: linear-gradient(135deg, var(--secondary-start) 0%, var(--secondary-end) 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    font-size: 14px;
}

/* ========== PAGE ELEMENTS ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title {
    font-size: 32px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title i {
    font-size: 28px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.card h2 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-start);
}

.card h2 i {
    margin-right: 8px;
    color: var(--primary-start);
}

/* ========== BUTTONS ========== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    color: var(--white);
    padding: 12px 24px;
}

.btn-secondary,
.btn-complement,
.btn-copy,
.btn-back {
    background: var(--complement);
    color: var(--text-dark);
}

.btn-secondary:hover,
.btn-complement:hover,
.btn-copy:hover,
.btn-back:hover {
    background: #c5cbb8;
}

.btn-success,
.btn-pdf {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover,
.btn-pdf:hover {
    background: #8aa099;
}

.btn-danger,
.btn-sds {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover,
.btn-sds:hover {
    background: #c99890;
}

.btn-edit {
    background: var(--primary-start);
    color: var(--white);
}

.btn-edit:hover {
    background: var(--primary-end);
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.form-group label i {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-start);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-start);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== ALERTS & BADGES ========== */
.alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: var(--success);
    color: var(--white);
}

.alert-error {
    background-color: var(--danger);
    color: var(--white);
}

.alert-warning {
    background-color: var(--bg-cream);
    color: #856404;
    border: 1px solid #d6a77d;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-complete {
    background-color: var(--success);
    color: var(--white);
}

.badge-incomplete {
    background-color: var(--bg-cream);
    color: #856404;
}

.badge-admin {
    background-color: var(--primary-start);
    color: var(--white);
}

.badge-user {
    background-color: var(--complement);
    color: var(--text-dark);
}

/* ========== TABLES ========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    background-color: var(--bg-cream);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    border-bottom: 2px solid var(--complement);
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

tbody tr:hover {
    background-color: var(--bg-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

.table-container {
    overflow-x: auto;
}

/* ========== INFO DISPLAYS ========== */
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-medium);
    font-size: 14px;
}

.info-label i {
    margin-right: 6px;
    color: var(--text-medium);
    width: 16px;
    text-align: center;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.info-box {
    background-color: var(--bg-cream);
    border: 1px solid var(--complement);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box p {
    color: #856404;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== RECIPES ========== */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.recipe-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.recipe-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 20px;
}

.recipe-info {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 15px;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.recipe-owner {
    font-size: 13px;
    color: var(--text-light);
}

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

.recipe-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.recipe-actions form {
    flex: 1;
}

.recipe-actions button {
    width: 100%;
    padding: 8px;
}

/* ========== OILS & INGREDIENTS ========== */
.oils-list,
.non-oils-list {
    margin-top: 20px;
}

.oil-item,
.non-oil-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-cream);
    border-radius: 8px;
    margin-bottom: 10px;
}

.oil-name,
.non-oil-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.oil-inci {
    font-size: 11px;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 2px;
}

.oil-percentage {
    width: 100px;
}

.oil-percentage input,
.non-oil-weight input {
    width: 100%;
    padding: 8px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 6px;
}

.oil-weight {
    width: 100px;
    text-align: right;
    color: var(--text-medium);
    font-size: 13px;
}

.non-oil-weight {
    width: 120px;
}

.add-oil-form,
.add-non-oil-form {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.add-oil-form .form-group,
.add-non-oil-form .form-group {
    flex: 1;
    margin-bottom: 0;
    min-width: 150px;
}

/* ========== PROGRESS & PROPERTIES ========== */
.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--border);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.progress-fill.complete {
    background: linear-gradient(135deg, var(--success) 0%, #8aa099 100%);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.property-item {
    background: var(--bg-cream);
    padding: 15px;
    border-radius: 8px;
}

.property-label {
    font-size: 12px;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.property-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.property-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.property-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--success) 0%, #8aa099 100%);
    transition: width 0.3s;
}

/* ========== HIGHLIGHT BOX ========== */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.highlight-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.highlight-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.highlight-value {
    font-size: 24px;
    font-weight: 600;
}

.calculation-note {
    background: var(--bg-cream);
    border: 1px solid var(--complement);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

.calculation-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* ========== NOTES & RATINGS ========== */
.notes-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.notes-textarea:focus {
    outline: none;
    border-color: var(--primary-start);
}

.rating-group {
    margin: 15px 0;
}

.rating-group > label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.star-rating {
    display: flex;
    gap: 5px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 28px;
    color: var(--border);
    transition: color 0.2s;
    margin: 0;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-display .stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-display .rating-value {
    font-weight: 600;
    color: var(--text-dark);
}

.notes-display {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
}

/* ========== VERSIONS ========== */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-start);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.version-badge.current {
    background: var(--success);
}

.version-badge.old {
    background: var(--text-light);
}

.version-timeline {
    position: relative;
    padding-left: 30px;
    margin: 20px 0;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--complement);
}

.version-item {
    position: relative;
    background: var(--white);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.version-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-start);
    border: 3px solid var(--white);
}

.version-item.current::before {
    background: var(--success);
    width: 16px;
    height: 16px;
    left: -26px;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.version-meta {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.version-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.version-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.version-stat {
    text-align: center;
}

.version-stat-label {
    font-size: 11px;
    color: var(--text-medium);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.version-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== ADMIN DASHBOARD ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-start);
    margin-bottom: 15px;
}

.stat-header h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
}

.stat-value {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-start);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.stat-description {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* ========== LOGIN PAGE ========== */
.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f0e8d0 100%);
}

.login-split-container {
    display: flex;
    min-height: 100vh;
}

.login-illustration {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.soap-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.soap-icon-main {
    font-size: 150px;
    color: var(--white);
    opacity: 0.95;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rise 4s infinite ease-in;
}

.bubble-1 { width: 40px; height: 40px; left: 20%; bottom: -40px; animation-delay: 0s; }
.bubble-2 { width: 30px; height: 30px; left: 40%; bottom: -30px; animation-delay: 1s; }
.bubble-3 { width: 50px; height: 50px; left: 60%; bottom: -50px; animation-delay: 2s; }
.bubble-4 { width: 35px; height: 35px; left: 75%; bottom: -35px; animation-delay: 0.5s; }
.bubble-5 { width: 25px; height: 25px; left: 10%; bottom: -25px; animation-delay: 1.5s; }
.bubble-6 { width: 45px; height: 45px; left: 85%; bottom: -45px; animation-delay: 2.5s; }

@keyframes rise {
    0% { bottom: -50px; opacity: 0; }
    25% { opacity: 1; }
    100% { bottom: 110%; opacity: 0; }
}

.illustration-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    text-align: center;
}

.illustration-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 400px;
    line-height: 1.6;
}

.login-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--white);
}

.login-card {
    width: 100%;
    max-width: 420px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.login-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    margin: 0 0 40px 0;
}

.login-card .form-group {
    margin-bottom: 25px;
}

.login-card .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.login-card .form-group label i {
    color: var(--primary-start);
    margin-right: 6px;
}

.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-start);
    box-shadow: 0 0 0 3px rgba(119, 109, 146, 0.1);
}

.btn-login-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.btn-login-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(119, 109, 146, 0.3);
}

.btn-login-primary:active {
    transform: translateY(0);
}

.login-form-container .alert {
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 24px;
}

.empty-state p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .login-split-container {
        flex-direction: column;
    }
    
    .login-illustration {
        min-height: 40vh;
        padding: 40px 20px;
    }
    
    .soap-graphic {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
    
    .soap-icon-main {
        font-size: 100px;
    }
    
    .illustration-title {
        font-size: 28px;
    }
    
    .illustration-subtitle {
        font-size: 16px;
    }
    
    .login-form-container {
        padding: 40px 20px;
    }
    
    .login-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .highlight-grid,
    .properties-grid,
    .recipes-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .add-oil-form,
    .add-non-oil-form {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .login-illustration {
        padding: 30px 15px;
    }
    
    .soap-graphic {
        width: 150px;
        height: 150px;
    }
    
    .soap-icon-main {
        font-size: 80px;
    }
    
    .login-form-container {
        padding: 30px 15px;
    }
    
    .login-card {
        max-width: 100%;
    }
}
/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 30px;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--complement);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.tag-badge i.fa-tag {
    font-size: 11px;
}

.tag-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font-size: 12px;
    transition: color 0.2s;
}

.tag-remove:hover {
    color: #c99890;
}

.add-tag-form {
    display: flex;
    align-items: center;
}

.no-tags {
    color: var(--text-medium);
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}
.recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-cream);
    color: var(--text-dark);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.tag-badge-small i {
    font-size: 10px;
}