/* Screen Color Picker - Specific Styles */

.picker-hero {
    text-align: center;
    margin-bottom: 40px;
}

.picker-hero h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.picker-hero p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Picker Section */
.picker-section {
    margin-bottom: 60px;
}

.picker-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Eye Dropper Section */
.eye-dropper-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 3px dashed var(--primary-color);
    border-radius: var(--radius);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.eye-dropper-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse-bg 3s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.btn-eye-dropper {
    position: relative;
    z-index: 10;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px 60px;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    min-width: 350px;
}

.btn-eye-dropper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.btn-eye-dropper:active {
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 48px;
    line-height: 1;
}

.btn-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-subtext {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.browser-note {
    position: relative;
    z-index: 10;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px;
    background: var(--background-secondary);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Result Section */
.result-section {
    margin-bottom: 40px;
}

.result-card {
    display: flex;
    gap: 20px;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.result-preview {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.result-info {
    flex: 1;
}

.result-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 60px;
}

.result-value {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.copy-btn {
    padding: 8px 16px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Color History */
.color-history {
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.color-history h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.history-colors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 12px;
}

.history-color {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-color:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.no-history {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Instructions Section */
.instructions-section {
    margin-top: 60px;
}

.instructions-section h3 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .picker-hero h2 {
        font-size: 28px;
    }

    .eye-dropper-section {
        padding: 60px 20px;
    }

    .btn-eye-dropper {
        min-width: auto;
        width: 100%;
        padding: 24px 40px;
    }

    .btn-icon {
        font-size: 40px;
    }

    .btn-text {
        font-size: 20px;
    }

    .btn-subtext {
        font-size: 13px;
    }

    .result-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .result-preview {
        width: 120px;
        height: 120px;
    }

    .result-row {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .history-colors {
        grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.result-preview {
    animation: pulse 2s ease-in-out infinite;
}
