/* Target Analyzer specific styles */

.analyzer-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.analyzer-intro h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.analyzer-intro p {
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.upload-section {
    margin-bottom: 30px;
}

.upload-area {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6b;
}

.upload-area.dragover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 14px;
    color: #a0a0a0;
}

.image-preview {
    margin-top: 20px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

.target-type-section {
    margin-bottom: 30px;
}

.target-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.target-type-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.target-type-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6b;
}

.target-type-btn.active {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.type-icon {
    font-size: 32px;
}

.type-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.analyze-btn {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.analyze-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recent-analyses {
    margin-top: 30px;
}

.analyses-list {
    space-y: 10px;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analysis-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.analysis-date {
    font-weight: 600;
    color: #ffffff;
}

.analysis-score {
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.analysis-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #a0a0a0;
}

/* Results Screen */
.results-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.result-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.result-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.result-stat-label {
    font-size: 14px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.target-visualization {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.target-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    background: white;
}

.recommendations-section {
    margin-top: 25px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.recommendation-card.high {
    border-left-color: #ef4444;
}

.recommendation-card.medium {
    border-left-color: #fbbf24;
}

.recommendation-card.low {
    border-left-color: #3b82f6;
}

.recommendation-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.recommendation-icon {
    font-size: 24px;
    margin-right: 12px;
}

.recommendation-title {
    font-weight: 600;
    flex: 1;
}

.recommendation-message {
    color: #a0a0a0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.recommendation-tips {
    padding-left: 20px;
}

.tip-item {
    color: #a0a0a0;
    margin: 8px 0;
    line-height: 1.5;
    font-size: 14px;
}

.hits-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.hits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.hit-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.hit-number {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.hit-ring {
    font-size: 12px;
    color: #a0a0a0;
}

.hit-score {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 5px;
}
