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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}



/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    height: 100vh;
    align-items: center;
    padding: 20px;
}

/* Left Panel */
.left-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
}

.config-section {
    margin-bottom: 15px;
}



.config-section h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.subtitle {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Size and Stone Size Container */
.size-config-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

/* Size Buttons */
.size-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.size-btn {
    padding: 12px 20px;
    border: 2px solid #ff6b35;
    background: #fff;
    color: #ff6b35;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 120px;
}

.size-btn.active,
.size-btn:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Stone Size Buttons */
.stone-size-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.stone-size-btn {
    width: 60px;
    height: 60px;
    border: 2px solid #ff6b35;
    background: #fff;
    color: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stone-size-btn.active,
.stone-size-btn:hover {
    background: #ff6b35;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* All Stone Buttons */
.all-stone-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.all-stone-btn {
    padding: 6px 8px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    text-align: center;
}

.all-stone-btn:hover {
    border-color: #ff6b35;
    background: #ff6b35;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}





/* Right Panel */
.right-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.bracelet-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Bracelet Preview */
.bracelet-preview {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bracelet-circle {
    width: 230px;
    height: 230px;
    border: 3px solid #333;
    border-radius: 50%;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.bracelet-stone {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.bracelet-stone:hover {
    transform: scale(1.2);
    z-index: 10;
}

/* Selected Stones List */
.selected-stones {
    margin-bottom: 15px;
}

.selected-stones h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.selected-stones-list {
    max-height: 100px;
    overflow-y: auto;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 8px;
    background: #f9f9f9;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.selected-stone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    font-size: 0.75rem;
}

.selected-stone-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-stone-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
}

.selected-stone-name {
    font-weight: 500;
    color: #333;
    font-size: 0.7rem;
}

.remove-stone {
    background: #ff4757;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-stone:hover {
    background: #ff3742;
    transform: scale(1.1);
}

.stone-count {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Order Form */
.order-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.order-form h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bracelet-preview {
        width: 250px;
        height: 250px;
    }
    
    .bracelet-circle {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .size-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .size-btn {
        max-width: 200px;
    }
    
    .stones-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .bracelet-preview {
        width: 200px;
        height: 200px;
    }
    
    .bracelet-circle {
        width: 180px;
        height: 180px;
    }
}

/* Scrollbar Styling */
.stones-grid::-webkit-scrollbar,
.selected-stones-list::-webkit-scrollbar {
    width: 8px;
}

.stones-grid::-webkit-scrollbar-track,
.selected-stones-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.stones-grid::-webkit-scrollbar-thumb,
.selected-stones-list::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.stones-grid::-webkit-scrollbar-thumb:hover,
.selected-stones-list::-webkit-scrollbar-thumb:hover {
    background: #ff8c42;
} 

.anasayfa-fab {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 60%, #ff8c42 100%);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 24px rgba(255,107,53,0.18);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    border: none;
    padding: 0 24px 0 18px;
    gap: 12px;
    font-weight: 600;
}
.anasayfa-fab:hover {
    background: linear-gradient(135deg, #ff8c42 60%, #ff6b35 100%);
    box-shadow: 0 12px 32px rgba(255,107,53,0.28);
    transform: scale(1.08);
}
.anasayfa-fab span {
    pointer-events: none;
}
.anasayfa-fab-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-left: 2px;
}
@media (max-width: 600px) {
    .anasayfa-fab-text {
        display: none;
    }
    .anasayfa-fab {
        min-width: 60px;
        padding: 0;
        font-size: 2rem;
    }
}

/* Normal dikey mod için kutuları yukarı taşı */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 100px;
    }
    
    .bracelet-preview {
        width: 250px;
        height: 250px;
    }
    
    .bracelet-circle {
        width: 230px;
        height: 230px;
    }
} 