/* Transformation Tools (Rotate/Flip) Styles */

/* Radio button groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-option {
    position: relative;
}

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

.radio-option label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.75rem;
}

.radio-option label:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color)05, var(--bg-primary));
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color)10, var(--bg-primary));
    color: var(--primary-color);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.radio-option input[type="radio"]:checked + label .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-option input[type="radio"]:checked + label .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-content {
    flex: 1;
}

.radio-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.radio-content small {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.radio-option input[type="radio"]:checked ~ .radio-content {
    color: var(--text-primary);
}

.radio-option input[type="radio"]:checked ~ .radio-content strong {
    color: var(--primary-color);
}

/* Transformation Buttons for Rotate/Flip */
/* Use generic choice-grid and choice-btn from components.css */

/* Selected Transformation Display */
.selected-transform {
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
}

.no-selection i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.no-selection p {
    margin: 0;
    font-size: 0.9rem;
}

.selected-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color)10, transparent);
    border-radius: 8px;
    width: 100%;
}

.selected-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.selected-details strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.selected-details small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Custom Angle Controls */
.custom-angle-control {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}



.angle-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.angle-input.active {
    background: linear-gradient(135deg, var(--primary-color)10, transparent);
    color: var(--primary-color);
}

.angle-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.angle-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 20px;
}

.apply-angle-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.apply-angle-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.apply-angle-btn:active {
    transform: translateY(0);
}

/* Diamond Transformation Buttons - Use standard theme styling */ 