/**
 * Business Claim Feature Styles
 * Professional UI/UX with animations and responsive design
 */

/* ===========================
   Claim Banner Styles
   =========================== */

.gs-claim-banner {
    position: relative;
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.gs-claim-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Background Pattern */
.claim-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.claim-banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
    animation: patternMove 20s linear infinite;
}

/* Content Container */
.claim-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    color: white;
}

/* Icon Section */
.claim-banner-icon {
    flex-shrink: 0;
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.claim-banner-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-out infinite;
}

/* Text Section */
.claim-banner-text {
    flex: 1;
}

.claim-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.claim-subtitle {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
    opacity: 0.95;
    color: white;
    line-height: 1.5;
}

/* Benefits Grid */
.claim-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.benefit-item i {
    color: #a5f3fc;
    font-size: 1rem;
}

.benefit-item span {
    color: white;
    opacity: 0.9;
}

/* Action Section */
.claim-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Primary Claim Button */
.btn-claim-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-claim-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-claim-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #667eea;
}

.btn-claim-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-claim-primary i {
    transition: transform 0.3s ease;
}

.btn-claim-primary:hover i {
    transform: translateX(4px);
}

/* Trust Badge */
.claim-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: white;
    opacity: 0.8;
}

.claim-trust i {
    font-size: 1rem;
}

/* Close Button */
.claim-banner-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.claim-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.claim-banner-close i {
    color: white;
    font-size: 1rem;
}

/* Pending State */
.gs-claim-banner.pending {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.gs-claim-banner.pending .claim-banner-icon i {
    animation: rotate 2s linear infinite;
}

/* Highlight Animation */
.gs-claim-banner.highlight-animation {
    animation: highlightPulse 1s ease-out 3;
}

/* ===========================
   Claim Page Styles
   =========================== */

.claim-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 0;
}

.claim-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Search Section */
.claim-search-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.search-header p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Search Input */
.claim-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.claim-search-input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.claim-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.claim-search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.claim-search-button:hover {
    background: #764ba2;
}

/* Search Results */
.search-results {
    margin-top: 2rem;
}

.result-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.result-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

.result-business-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.result-business-address {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-business-address i {
    color: #667eea;
}

.result-claim-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.result-claim-btn:hover {
    background: #764ba2;
    color: white;
}

/* Multi-Step Form */
.claim-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Progress Indicator */
.claim-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.claim-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #64748b;
}

.progress-step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

/* Form Steps */
.claim-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.claim-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h2 {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #64748b;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #475569;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Verification Options */
.verification-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.verification-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.verification-option:hover {
    border-color: #cbd5e1;
}

.verification-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.verification-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.verification-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #667eea;
}

.verification-title {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.verification-desc {
    font-size: 0.875rem;
    color: #64748b;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-prev {
    background: #f1f5f9;
    color: #475569;
}

.btn-prev:hover {
    background: #e2e8f0;
}

.btn-next {
    background: #667eea;
    color: white;
}

.btn-next:hover {
    background: #764ba2;
}

.btn-submit {
    background: #10b981;
    color: white;
}

.btn-submit:hover {
    background: #059669;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes patternMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(70px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .claim-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .claim-benefits {
        grid-template-columns: 1fr;
    }
    
    .claim-banner-action {
        width: 100%;
    }
    
    .btn-claim-primary {
        width: 100%;
        justify-content: center;
    }
    
    .result-item {
        padding: 1rem;
    }
    
    .result-claim-btn {
        position: static;
        transform: none;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
    
    .claim-progress {
        flex-direction: column;
        gap: 1rem;
    }
    
    .claim-progress::before {
        display: none;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-nav {
        width: 100%;
    }
}