/* Base Variables - Modern Luxury Theme */
:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA8C2C 100%);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);

    /* Mapping to existing app variables for compatibility */
    --accent-teal: #2dd4bf;
    --accent-teal-soft: rgba(45, 212, 191, 0.1);
    --accent-gold: var(--gold-primary);
    --input-bg: rgba(0, 0, 0, 0.3);
    --card-border: var(--border-glass);
    --primary-text: var(--text-main);
    --secondary-text: var(--text-muted);
}

/* Hide Spin Buttons */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Back Button */
.back-home-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 100;
}

.back-home-btn:hover {
    color: var(--gold-primary);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--primary-text);
    line-height: 1.6;
    padding: 40px 20px;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
    overflow-x: hidden;
}

/* Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    /* Reduced for performance */
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67, 67, 67, 0.3), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 10px;
}

/* Share Container (Hidden off-screen usually, but styled for capture) */
.share-container {
    position: absolute;
    left: -9999px;
    width: 1400px;
    /* Wide horizontal layout */
    background: var(--bg-dark);
    /* Dark Theme */
    padding: 40px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-text);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 20px;
}

.share-title {
    width: 100%;
    text-align: center;
    /* Center title as requested? Requirements said "Date on right side". Let's handle alignment */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.share-title h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0;
}

.share-title p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.share-image-row {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.share-image-row img {
    max-height: 400px;
    /* Larger image */
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
}

.share-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.share-col {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: none;
}

/* Share Specific Overrides to make inputs look like text in Dark Mode */
.share-container input {
    border: none;
    background: transparent;
    padding: 0;
    font-weight: 600;
    color: var(--primary-text);
    text-align: right;
    width: auto;
}

.share-container .input-wrapper {
    background: transparent;
    border: none;
    padding: 0;
}

.share-container .input-wrapper i {
    display: none;
}

.share-container .t-input {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    text-align: right;
}

.share-container .result-display-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid var(--accent-gold);
}

.share-container .cost-table td {
    background: transparent;
}

.share-container h2 {
    color: var(--accent-teal);
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.app-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.app-header .accent {
    color: var(--gold-primary);
}

.subtitle {
    color: var(--secondary-text);
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Layout Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--accent-teal);
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.card-header h2,
.card-header h3 {
    font-size: 1.4rem;
    color: var(--primary-text);
    font-weight: 700;
    margin: 0;
}

h3 {
    text-transform: capitalize;
}

/* History */
.history-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.history-item:hover {
    border-color: var(--accent-gold);
}

.history-info {
    display: flex;
    flex-direction: column;
}

.history-info strong {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.history-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.history-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.view-btn {
    background: rgba(8, 145, 178, 0.1);
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.view-btn:hover {
    background: var(--accent-teal);
    color: white;
}

.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #ef4444;
    color: white;
}

/* Section 1: Rate Converter */
.section-converter .converter-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-teal);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.t-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: white;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    outline: none;
    transition: all 0.2s;
}

.t-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

.result-display-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-display-box .label {
    color: var(--secondary-text);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.result-display-box .value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    font-family: 'Playfair Display', serif;
}

.result-display-box .sub-label {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-top: 5px;
}

.formula-text {
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.85rem;
    margin-top: 20px;
    font-family: monospace;
    opacity: 0.7;
}

/* Cost Analysis Table */
.cost-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    /* Gap removed */
}

.cost-table th {
    text-align: left;
    color: var(--accent-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 15px 10px 15px;
    letter-spacing: 0.5px;
}

.cost-table th:last-child {
    text-align: right;
}

.cost-table td {
    background: var(--input-bg);
    /* Rows look like cards */
    padding: 8px 12px;
    color: white;
    font-weight: 500;
}

.cost-table td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-weight: 700;
}

.cost-table td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: right;
    font-family: inherit;
}

.table-input input {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    width: 100px;
    text-align: center;
    font-weight: 600;
    font-family: inherit;
}

.table-input input:focus {
    outline: 1px solid var(--gold-primary);
    background: black;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

tr.total-row td {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    color: var(--gold-primary);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px;
    font-family: 'Playfair Display', serif;
    border-radius: 12px;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    font-family: 'Outfit', sans-serif;
}

.pricing-table th {
    text-align: left;
    color: var(--accent-teal);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px;
}

.pricing-table th:last-child {
    text-align: right;
}

.pricing-table tr.data-row td {
    background: var(--input-bg);
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid var(--card-border);
}

.pricing-table tr.data-row td:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-table tr.data-row td:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: right;
    border-left: none;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-teal);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

/* Selected/Active Row Simulation (e.g. 20%) - We can highlight based on logic or static */
.pricing-table tr.highlight-row td {
    background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
    color: #050b0e;
    /* Dark text on gold */
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.pricing-table tr.highlight-row .badge {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
}

/* Media Upload */
.upload-area {
    background: var(--input-bg);
    border: 2px dashed var(--card-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.upload-area:hover {
    border-color: var(--accent-gold);
}

.upload-icon {
    font-size: 2rem;
    color: var(--secondary-text);
    margin-bottom: 15px;
}

.upload-text {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.image-preview {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.remove-btn {
    position: static;
    margin-top: 20px;
    background: #ef4444;
    /* Red */
    color: white;
    border: none;
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
    transition: all 0.2s;
    z-index: 10;
    font-weight: 600;
}

.remove-btn:hover {
    transform: translateY(-2px);
    background: #dc2626;
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.5);
}

/* Actions Section */
.export-card {
    background: var(--input-bg);
    /* Darker panel inside card */
    padding: 20px;
    border-radius: 16px;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.primary-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, opacity 0.2s;
    font-family: inherit;
}

.primary-btn.share {
    background: var(--gradient-gold);
    color: #050b0e;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    font-weight: 700;
}

.primary-btn.save {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Custom Margin Input styles */
.custom-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 8px;
    width: fit-content;
}

.custom-input-group input {
    background: transparent;
    border: none;
    color: white;
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.custom-input-group input:focus {
    outline: none;
}

/* Share Container Hidden */
/* Compact Classic Share Container - White/Blue Aesthetic */
.classic-share-container {
    position: fixed;
    top: 0;
    left: -9999px;
    z-index: -100;
    width: 800px;
    background: white;
    padding: 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.classic-header {
    border-bottom: 2px solid #385d75;
    /* Slate Blue */
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.classic-header h1 {
    font-size: 1.4rem;
    /* Reduced from 1.8rem */
    color: #385d75;
    /* Slate Blue */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.classic-time {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

/* Rate Section - Header/Value Split */
.classic-rate-box {
    display: flex;
    gap: 5px;
    /* Spacing between rate cards */
    margin-bottom: 20px;
    background: transparent;
    border: none;
    padding: 0;
}

.rate-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #385d75;
    /* Blue border frame */
    border-radius: 4px;
    /* Optional rounded corners */
    overflow: hidden;
    /* contain child backgrounds */
}

.rate-item:last-child {
    border-right: 1px solid #385d75;
    /* Restore border */
}

.rate-item .label {
    display: block;
    background: #385d75;
    /* Dark Blue Header */
    color: white;
    /* White Heading Text */
    padding: 8px 5px;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

.rate-item .value {
    display: block;
    background: white;
    /* White Value Background */
    color: #000;
    /* Dark Black Value Text */
    padding: 10px 5px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
    /* Fill height */
}

.highlight-box {
    background: transparent;
    border-color: #385d75;
}

/* Tables */
.classic-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.classic-table th {
    background-color: #385d75;
    /* Slate Blue Header */
    color: white;
    border-bottom: 2px solid #2c4a5f;
    padding: 8px 5px;
    /* Minimal row height */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.classic-table td {
    padding: 6px 5px;
    /* Minimal padding */
    border-bottom: 1px solid #dce2f2;
    color: #000;
    /* Dark Black */
    font-weight: 700;
    /* Bold */
}

.total-row-compact td {
    border-top: 2px solid #385d75;
    border-bottom: none;
    font-weight: 800;
    font-size: 1.1rem;
    background: #dce2f2;
    /* Lavender Highlight */
    color: #385d75;
    padding: 10px 5px;
}

/* Split Layout */
/* Split Layout - 2:1 Ratio for 3-Col Grid Alignment */
.classic-split-row {
    display: flex;
    gap: 10px;
    /* Reduced gap for tighter alignment */
    align-items: center;
    /* Center align vertically */
    margin-bottom: 20px;
}

.classic-margin-col {
    flex: 2;
    /* 66.6% width (spans 2 columns) */
}

.classic-photo-col {
    flex: 1;
    /* 33.3% width (spans 1 column) */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #385d75;
    padding: 5px;
    background: #f8f9fa;
    min-height: 150px;
    height: 100%;
    /* Match height */
}

/* Tables - Fixed Layout for Alignment */
.classic-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
    table-layout: fixed;
    /* Force equal widths */
}

.classic-table th,
.classic-table td {
    width: 33.33%;
    /* Strict 3 columns */
}

/* Margin Table - 2 Cols (50% each of 66% parent = 33% page) */
.margin-table-compact {
    table-layout: fixed;
}

.margin-table-compact th,
.margin-table-compact td {
    width: 50%;
}

/* Restored Split Row for Ref & Notes */
.split-row-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.section-ref {
    flex: 1;
    /* Smaller share */
    margin: 0;
}

.section-notes {
    flex: 2;
    /* Larger share */
    margin: 0 !important;
}

/* Reference Number Display in Export */
.ref-display-text {
    text-align: center;
    font-weight: 800;
    /* Bold */
    font-size: 1.1rem;
    color: #385d75;
    /* Slate Blue */
    margin-top: 10px;
    display: none;
    /* Hidden by default */
}

.classic-photo-col img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* Notes */
.classic-notes-section {
    margin-top: 20px;
    border-top: 1px solid #385d75;
    padding-top: 10px;
}

.classic-notes-section h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #385d75;
    font-weight: 700;
}

.note-content-box {
    background: #ffe6e6;
    /* Light Red Highlight */
    padding: 15px;
    /* Increased padding */
    font-weight: 800;
    /* Extra Bold */
    color: #cc0000;
    /* Bright Red Text */
    min-height: 40px;
    border-radius: 4px;
    white-space: pre-wrap;
    /* Preserve text formatting */
    border: 2px solid #cc0000;
    /* Red Border */
    font-size: 1.1rem;
    /* Larger text */
    text-transform: uppercase;
    /* Uppercase for attention */
}

/* Customer Name Display - Export */
.customer-display-text {
    font-size: 1.2rem;
    /* Smaller than H1 */
    font-weight: 800;
    color: #000000;
    text-align: left;
    /* Align Left */
    margin-bottom: 0;
    margin-top: 5px;
    /* Slight gap from H1 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    /* Remove specific border */
    padding: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: none;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: auto;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ef4444;
    /* Red - OFF */
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #10b981;
    /* Green - ON */
}

input:focus+.slider {
    box-shadow: 0 0 1px #10b981;
}

input:checked+.slider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}