/* ========================================
   MANUEL SIRA TAKIP PAGE STYLES
   Prefix: manual-
======================================== */

/* Manual Header Section */
.manual-header-section {
    background: linear-gradient(135deg, #4a90e2 0%, #667eea 100%);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
}

.manual-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.manual-header-text {
    text-align: center;
}

.manual-page-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.manual-page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Search Section */
.manual-search-section {
    margin-bottom: 2rem;
}

.manual-search-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.manual-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.manual-search-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.manual-search-header i {
    color: #667eea;
}

.manual-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.manual-badge-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Form Styles */

.manual-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.manual-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.manual-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.manual-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manual-label i {
    color: #667eea;
    font-size: 1rem;
}

.manual-input,
.manual-select {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.manual-input:focus,
.manual-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.manual-input::placeholder {
    color: #999;
}

.manual-help-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: -0.3rem;
}

/* Form Actions */
.manual-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.manual-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.manual-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.manual-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.manual-btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e6ed;
}

.manual-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #d0d6dd;
}

.manual-btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.manual-btn-outline:hover {
    background: #667eea;
    color: white;
}

.manual-btn-text {
    background: transparent;
    color: #666;
    padding: 0.5rem 1rem;
}

.manual-btn-text:hover {
    color: #667eea;
}

.manual-btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f7fa;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.manual-btn-icon:hover {
    background: #e74c3c;
    color: white;
}

/* Loading Section */
.manual-loading-section {
    margin-bottom: 2rem;
}

.manual-loading-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.manual-loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border: 6px solid #f3f4f6;
    border-top: 6px solid #667eea;
    border-radius: 50%;
    animation: manual-spin 1s linear infinite;
}

@keyframes manual-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.manual-loading-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.manual-loading-text {
    color: #666;
    margin-bottom: 2rem;
}

.manual-progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.manual-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
    animation: manual-progress 30s linear;
}

@keyframes manual-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.manual-loading-step {
    color: #667eea;
    font-weight: 600;
}

/* Result Section */
.manual-result-section {
    margin-bottom: 2rem;
}

.manual-result-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4caf50;
}

.manual-result-success {
    border-left-color: #4caf50;
}

.manual-result-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.manual-result-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.manual-result-info {
    flex: 1;
}

.manual-result-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.manual-result-subtitle {
    color: #666;
    font-size: 0.95rem;
}

.manual-result-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.manual-rank-display {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    color: white;
    min-width: 150px;
}

.manual-rank-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.manual-rank-label {
    font-size: 1rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manual-result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.manual-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.manual-detail-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.manual-detail-item strong {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.manual-detail-item span {
    color: #666;
    font-size: 0.95rem;
}

.manual-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Recent Searches */
.manual-recent-section {
    margin-bottom: 2rem;
}

.manual-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.manual-section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.manual-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.manual-recent-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.manual-recent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.manual-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.manual-recent-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.manual-icon-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
}

.manual-icon-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.manual-icon-error {
    background: linear-gradient(135deg, #f44336, #e53935);
}

.manual-recent-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

.manual-recent-body {
    margin-bottom: 1rem;
}

.manual-recent-keyword {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.manual-recent-url {
    color: #667eea;
    font-size: 0.9rem;
}

.manual-recent-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.manual-recent-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.manual-rank-top {
    color: #4caf50;
}

.manual-rank-mid {
    color: #ff9800;
}

.manual-rank-low {
    color: #f44336;
}

.manual-rank-none {
    color: #999;
}

.manual-btn-small {
    padding: 0.5rem 1rem;
    border: none;
    background: #f5f7fa;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.manual-btn-small:hover {
    background: #667eea;
    color: white;
}

/* Tips Section */
.manual-tips-section {
    margin-bottom: 2rem;
}

.manual-tips-card {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
    padding: 2rem;
}

.manual-tips-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #8b4513;
}

.manual-tips-header i {
    font-size: 2rem;
}

.manual-tips-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.manual-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manual-tips-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #5d4037;
    font-size: 0.95rem;
    line-height: 1.6;
}

.manual-tips-list i {
    color: #4caf50;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .manual-header-content {
        flex-direction: column;
        text-align: center;
    }

    .manual-header-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .manual-page-title {
        font-size: 2rem;
    }

    .manual-header-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .manual-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .manual-grid-3 {
        grid-template-columns: 1fr;
    }

    .manual-result-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .manual-result-details {
        grid-template-columns: 1fr;
    }

    .manual-recent-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .manual-header-section {
        padding: 2rem 1.5rem;
    }

    .manual-search-card {
        padding: 1.5rem;
    }

    .manual-form-actions {
        flex-direction: column;
    }

    .manual-btn {
        width: 100%;
        justify-content: center;
    }

    .manual-result-card {
        padding: 1.5rem;
    }

    .manual-result-header {
        flex-wrap: wrap;
    }

    .manual-result-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .manual-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
