@import 'moda-themes';

$height: 48px;

$confirmation-color: #D8B2D1;
$custom-grey: #191A1B;
$dimmed-custom-grey: #95959b;
$border-grey: #CACBCC;


.DesignerUpdatesSubscribeButton {
    align-items: center;
    border: 0;
    display: flex;
    font-family: font-family('sans');
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.416665;
    height: $height;
    outline: 0;
    padding: 16px 24px;
    white-space: nowrap;
    width: 100%;
}

.DesignerUpdatesSubscribeButton--state-default-button {
    background-color: $custom-grey;
    color: color('white');
    text-transform: uppercase;

    &:hover {
        background: $dimmed-custom-grey;
    }
}

.DesignerUpdatesSubscribeButton--state-email-input {
    border-color: $border-grey;
    border-style: solid;
    border-width: 1px;
    
    justify-content: space-between;
    
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 12px;
    padding-right: 4px;

    input {
        background-color: transparent;
        border: 0;
        width: 100%;

        &:focus {
            outline: 0;
        }
    }
}

.DesignerUpdatesSubscribeButton--state-confirmed-placeholder {
    background-color: $confirmation-color;
}

.DesignerUpdatesSubscribeButton--disabled {
    border-bottom-color: color('code-red');
    box-shadow: 0 1px 0 color('code-red');
}

.DesignerUpdatesSubscribeButton__icon--left {
    margin-right: 8px;
}

.DesignerUpdatesSubscribeButton__icon--right {
    height: 40px;
    width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    
    &:hover{
        background-color: color('noise');
        border-radius: 50%;
    }
}
