/* QR Kod Tarama Sayfası Stilleri */
.qr-scanner-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.qr-scanner-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 550px;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(0, 121, 107, 0.03) 0%, rgba(255, 111, 0, 0.03) 100%);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--secondary-color);
}

.scanner-header {
    margin-bottom: 25px;
}

.scanner-header h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.scanner-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.scanner-header p {
    color: #666;
    font-size: 15px;
}

.scanner-view {
    position: relative;
    height: 320px;
    background: linear-gradient(45deg, #f0f0f0, #f9f9f9);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.scanner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    z-index: 1;
    transition: var(--transition);
}

.scanner-placeholder i {
    font-size: 70px;
    color: var(--primary-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.scanner-placeholder p {
    color: #555;
    font-size: 15px;
    max-width: 240px;
    line-height: 1.5;
}

.scanner-border {
    position: absolute;
    width: 75%;
    height: 75%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4);
    animation: scanAnimation 3s infinite;
}

@keyframes scanAnimation {
    0% {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 121, 107, 0.4);
    }
    50% {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 111, 0, 0.4);
    }
    100% {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 121, 107, 0.4);
    }
}

.scanner-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
}

.scan-button {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.scan-button:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.scan-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scan-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.scan-button:hover::after {
    left: 100%;
}

#manualEntry {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-dark));
}

#manualEntry:hover {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-color));
}

.code-input {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.code-input::placeholder {
    color: #aaa;
}

#scanner {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .qr-scanner-box {
        padding: 25px;
    }
    
    .scanner-view {
        height: 280px;
    }
    
    .scanner-border {
        width: 80%;
        height: 80%;
    }
    
    .scanner-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .qr-scanner-box {
        padding: 20px 15px;
    }
    
    .scanner-view {
        height: 240px;
    }
    
    .scanner-placeholder i {
        font-size: 50px;
    }
    
    .scanner-header h2 {
        font-size: 20px;
    }
    
    .scanner-buttons {
        padding: 0;
    }
    
    .scan-button {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .code-input {
        padding: 12px;
        font-size: 15px;
    }
} 