

.license-container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    min-height: calc(100vh - 140px);
    background: #ffffff; 
    padding: 50px 40px;
    box-sizing: border-box;
}

.license-header {
    text-align: center;
    margin-bottom: 40px;
}
.license-title {
    font-size: 36px;
    font-weight: 700;
    color: #333; 
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.license-description {
    font-size: 16px;
    color: #666; 
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.license-notice {
    background: #e3f2fd; 
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    border: 1px solid #bbdefb;
    border-left: 4px solid #2196F3; 
}
.license-notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2196F3; 
    margin-bottom: 10px;
}
.license-notice-icon {
    font-size: 18px;
    color: #2196F3;
}
.license-notice-content {
    padding: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}

.license-form-container {
    background: white;
    border-radius: 8px;
    padding: 40px;
    border: 1px solid #e0e0e0;
}
.license-form-main {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.license-form-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
}
.license-platform-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.license-platform-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.license-platform-item {
    position: relative;
}
.license-platform-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.license-platform-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    color: #333;
}
.license-platform-label:hover {
    background: #e3f2fd;
    border-color: #2196F3;
}
.license-platform-radio:checked + .license-platform-label {
    background: #2196F3; 
    border-color: #2196F3;
    color: white;
}
.license-platform-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
}
.license-platform-radio:checked + .license-platform-label .license-platform-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
.license-platform-name {
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.license-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}
.license-status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
.license-status-badge.approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.license-status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.license-platform-check {
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}
.license-platform-radio:checked + .license-platform-label .license-platform-check {
    background: white;
    border-color: white;
}
.license-platform-radio:checked + .license-platform-label .license-platform-check::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2196F3;
    font-size: 12px;
    font-weight: 600;
}

.license-form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    border-radius: 6px;
    padding: 30px;
    min-height: 400px;
    border: 1px solid #e0e0e0;
}
.license-platform-info {
    display: none;
    flex-direction: column;
    gap: 25px;
}
.license-platform-info.active {
    display: flex;
}
.license-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.license-info-icon {
    font-size: 32px;
}
.license-info-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}
.license-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.license-input-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.license-input-box {
    position: relative;
}
.license-input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    background: white;
    color: #333;
}
.license-input-field:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}
.license-input-field:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}
.license-input-field::placeholder {
    color: #999;
}

.license-material-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}
.license-material-select:focus {
    border-color: #2196F3;
    outline: none;
}
.license-material-select option {
    padding: 8px;
    background: white;
    color: #333;
}

.license-material-checkbox-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.license-material-select-all-btn {
    background: #2196F3; 
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.license-material-select-all-btn:hover {
    background: #1976D2;
}
.license-material-select-all-btn.active {
    background: #ec4899; 
}
.license-material-select-all-btn.active:hover {
    background: #db2777;
}
.license-material-checkbox-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    background: white;
}
.license-material-checkbox-container::-webkit-scrollbar {
    width: 6px;
}
.license-material-checkbox-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}
.license-material-checkbox-container::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 3px;
}
.license-material-checkbox-container::-webkit-scrollbar-thumb:hover {
    background: #9e9e9e;
}
.license-material-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.license-material-checkbox-item:hover {
    background: #e3f2fd;
}
.license-material-checkbox-item:last-child {
    margin-bottom: 0;
}
.license-material-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #2196F3;
}
.license-material-checkbox-label {
    font-size: 14px;
    color: #333;
    flex: 1;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-material-submitted-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    background: #e3f2fd;
    color: #2196F3;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid #bbdefb;
}
.license-material-checkbox-item.submitted {
    background: #e3f2fd;
    border-left: 2px solid #2196F3;
}

.license-resubmit-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.license-resubmit-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.license-resubmit-notice-text {
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
    flex: 1;
}
.license-action-btns {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.license-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.license-btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #e0e0e0;
}
.license-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #2196F3;
    color: #2196F3;
}
.license-btn-primary {
    background: #2196F3; 
    color: white;
}
.license-btn-primary:hover {
    background: #1976D2;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}
.license-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.license-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    gap: 15px;
}
.license-empty-icon {
    font-size: 48px;
    opacity: 0.5;
}
.license-empty-text {
    font-size: 16px;
    line-height: 1.6;
}

.toast-notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    display: none;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    display: block;
}
.toast-notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.toast-notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.toast-notification.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
.toast-notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 1024px) {
    .license-container {
        padding: 30px 30px;
    }
    .license-form-main {
        gap: 30px;
    }
    .license-form-left {
        flex: 0 0 280px;
    }
}
@media (max-width: 768px) {
    .license-container {
        padding: 15px 12px;
        max-width: 100%;
    }
    .license-header {
        margin-bottom: 30px;
    }
    .license-title {
        font-size: 28px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    .license-description {
        font-size: 14px;
        line-height: 1.6;
    }
    .license-notice {
        padding: 18px 15px;
        margin-bottom: 25px;
        border-radius: 10px;
    }
    .license-notice-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .license-notice-content {
        font-size: 14px;
        line-height: 1.6;
    }
    .license-form-container {
        padding: 20px 12px;
        border-radius: 12px;
    }
    .license-form-main {
        flex-direction: column;
        gap: 25px;
    }
    .license-form-left {
        flex: 0 0 auto;
        width: 100%;
    }
    .license-platform-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .license-platform-list {
        gap: 10px;
    }
    .license-platform-label {
        padding: 12px 16px;
        border-radius: 8px;
    }
    .license-platform-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .license-platform-name {
        font-size: 14px;
    }
    .license-status-badge {
        font-size: 10px;
        padding: 2px 8px;
        margin-left: 6px;
    }
    .license-platform-check {
        width: 18px;
        height: 18px;
    }
    .license-form-right {
        width: 100%;
        padding: 20px 15px;
        border-radius: 10px;
        min-height: 300px;
    }
    .license-info-header {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .license-info-icon {
        font-size: 28px;
    }
    .license-info-title {
        font-size: 18px;
    }
    .license-input-group {
        gap: 8px;
    }
    .license-input-label {
        font-size: 13px;
    }
    .license-input-field {
        padding: 10px 12px;
        font-size: 14px;
    }
    .license-action-btns {
        gap: 10px;
        flex-direction: column;
    }
    .license-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    .license-empty-state {
        gap: 12px;
        padding: 40px 15px;
    }
    .license-empty-icon {
        font-size: 40px;
    }
    .license-empty-text {
        font-size: 14px;
    }
}

.license-reject-reason {
    background: #fef2f2;
    border: 1px solid #f87171;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.license-reject-reason-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}
.license-reject-reason-content {
    font-size: 14px;
    color: #991b1b;
    line-height: 1.5;
    flex: 1;
}
.license-reject-reason-content strong {
    color: #b91c1c;
}

.license-resubmit-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.license-resubmit-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.license-resubmit-notice-text {
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
    flex: 1;
}


.license-container {
    background: #f5f5f7;
}

.license-form-container {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-color: #e5e7eb;
}

.license-form-right {
    background: #ffffff;
    border-radius: 8px;
}

.license-platform-label {
    background: #f9fafb;
    border-radius: 8px;
}
.license-platform-label:hover {
    background: #e3f2fd;
    border-color: #2196F3;
}
.license-platform-radio:checked + .license-platform-label {
    background: #2196F3;
    border-color: #2196F3;
}

.license-btn-primary {
    background: #2196F3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
}
.license-btn-primary:hover {
    background: #1976D2;
    box-shadow: 0 6px 18px rgba(33, 150, 243, 0.3);
}
.license-btn-secondary {
    background: #ffffff;
    border-color: #e5e7eb;
}
.license-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #2196F3;
    color: #2196F3;
}

@media (max-width: 768px) {
    .license-container {
        padding: 16px 10px 20px;
    }
    .license-form-container {
        padding: 18px 12px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    }
    .license-form-right {
        padding: 18px 14px;
    }
}
